package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* @author 27639
* @description 针对表【wm_sensitive(敏感词信息表)】的数据库操作Service
* @createDate 2023-07-14 15:59:25
*/
public interface WmSensitiveService extends IService<WmSensitive> {

    ResponseResult deleteSensitive(Integer id);

    ResponseResult listSensitive(SensitiveDto dto);

    ResponseResult saveSensitive( WmSensitive sensitive);

    ResponseResult updateSensitive( WmSensitive sensitive);
}
